<html><head><title>GetMailBody</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">GetMailBody()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result$ = <font color="#3A3966"><b>GetMailBody</b></font>(#Mail)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Return the specified mail body, previously set with <a href="setmailbody.html">SetMailBody()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Mail</i></td>
<td width="90%"> 
The mail to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the body as a string. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">  InitNetwork</font>()

  <b><font color="#3A3966">If</font></b> <font color="#3A3966">CreateMail</font>(0, &quot;test@purebasic.com&quot;, &quot;Hello&quot;)
<font color="#3A3966">    SetMailBody</font>(0, &quot;This is the body&quot;)
    <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">GetMailBody</font>(0) <font color="#3A3966">; Will print &quot;This is the body&quot;</font>
  <b><font color="#3A3966">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="setmailbody.html">SetMailBody()</a>, <a href="createmail.html">CreateMail()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=getmailattribute.html>GetMailAttribute()</a> - <a href="index.html">Mail Index</a> - <a href="ismail.html">IsMail()</a> -><br><br>

</body></html>